import request from "@/utils/request";
// 获取服务列表
export function list(data) {
  return request("goods/service/list", data, 'get');
}
// 获取所有服务
export function all(data) {
  return request("goods/service/all", data, 'get');
}
export function info(data) {
  return request("goods/service/info", data, 'get');
}
// 添加服务
export function add(data) {
  return request("goods/service/add", data, 'post');
}
// 编辑服务
export function edit(data) {
  return request("goods/service/edit", data, 'post');
}
// 删除服务
export function del(data) {
  return request("goods/service/del", data, 'post');
}
// 开关服务
export function open(data) {
  return request("goods/service/open", data, 'post');
}
